import styled  from "styled-components";

export const HomeWrapper = styled.div`
    width:960px;
    margin:0 auto;
    overflow:hidden;
`;

export const HomeLeft = styled.div`
    width:625px;
    margin-left:15px;
    padding-top:30px;
    float:left;
`

export const HomeRight = styled.div`
    width:240px;
    float:right;
`

export const ListItem = styled.div`
    padding: 20px 0;
    overflow: hidden;
    border-bottom:1px solid #dcdcdc;
    .pic{
        display: block;
        width: 125px;
        height: 100px;
        float: right;
        border-radius: 10px;
    }
`
export const ListInfo = styled.div`
    width: 500px;
    float: left;
    .title{
        line-height;
        font-size: 18px;
        font-weight: bold;
        color: #333;
    }
    .desc{
        line-height: 24px;
        font-size: 13px;
        color:#999;
    }
`

export const RecommendWrapper = styled.div`
    width:280px;
    margin:30px 0;
`

export const RecommendItem = styled.div`
    width:280px;
    height:50px;
    background:url(${(props)=>props.imgUrl})
    background-size:contain;
`

export const LoadMore = styled.div`
    width:100%;
    height:40px;
    line-height:40px;
    margin:30px 0;
    background:#a5a5a5;
    text-align:center;
    border-radius:20px;
    color:#fff;
    cursor:pointer;
`
export const BackTop = styled.div`
    width:60px;
    height:60px;
    position:fixed;
    right:100px;
    bottom:100px;
    line-height:60px;
    text-align:center;
    border:1px solid #ccc;
    font-size:14px

`